<template>
  <van-dropdown-item :title="title" @open="isShow">
    <template #default>
      <van-popup v-model="show" position="right" :style="{ height: '100%', width:'80%',background:'#fff', }" get-container='body'>内容</van-popup>
    </template>
  </van-dropdown-item>
</template>

<script>
export default {
  props:{
    title:String
  },
  data(){
    return {
      show:true
    }
  },
  methods:{
    isShow(){
      this.show = true;
    }
  }
}
</script>

<style lang="less" scoped>

</style>